(function(){
	angular.module("dingdangCtrlModule",[])
		.controller("dingdangController",["$scope",
			function($scope){
				getDataService.getRequest(
                    "orderQuery.php",
                    null,
                    function(data){
                        console.log(data);
                        if(data.code==0){
                            $scope.books = data.data;
                            // console.log($scope.books[]);
                        }else {
                            console.log(data.data);
                        }
                    },
                    function(error){
                        console.log(error);
                    }
                )
		}])
})();